<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i> <a href="/">首页</a> </li>
            <li><a href="/Area/typeList/">客服类型管理</a></li>
			<li class="active">客服类型管理添加</li>
		</ul>
	</div>
	<div class="page-content">
    <div class="web_form">
        <form action="__CONTROLLER__/typeSave/" class="form form-horizontal" method="post">
            <input type="hidden" name="id" value="<?PHP echo $ServiceTypeArray['id'];?>" />
            <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="type_name">分类名称</label>
                    <div class="col-sm-9">
                        <input id="type_name" type="text" datatype="required" data="分类名称" name="type_name" value="<?=$ServiceTypeArray['type_name']?>"   class="col-xs-10 col-sm-2" type="text">
                    </div>
             </div>
             <div class="form-group">
				<label class="col-sm-3 control-label no-padding-right" for="city_id">所在城市</label>
	
				<div class="col-sm-2">
					<select name="city_id" id="city_id"  class="width-80 form-control">
                    	<option value="0" selected="">=选择城市=</option>
                        <volist name="areaArray" id="row">
                            <option value="{$row.id}" <?PHP if( $row['id'] == $ServiceTypeArray['city_id'] ){?>selected="selected"<?PHP } ?>>{$row.name}</option>
                        </volist>
                    </select>
				</div>
			</div>
            <div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
					<button class="btn btn-info formSubmit" ajax="1" id="form" type="button"><i class="icon-ok bigger-110"></i>提交</button>
					&nbsp; &nbsp; &nbsp;
					<button class="btn" type="button" onclick="history.back(-1);"><i class="icon-undo bigger-110"></i>返回</button>
				</div>
			</div>
            
        </form>
    </div>
   </div>
</div>
<include file="Public:footer" />